home *** CD-ROM | disk | FTP | other *** search
- =======================
- LOGBOOK README.TXT
- OCX Version Release 1.1
- =======================
-
-
- Abstract
- --------
-
- This package contains the Logbook ActiveX control.
-
- This control implements a scrolling message console with very flexible file
- logging and time stamping capabilities. It comes as an ActiveX control (OCX)
- in both 16-bit and 32-bit versions. An earlier version (1.0) is still
- available as a VBX for use in Visual Basic 3.
-
- The most relevant features of this object are:
-
- - Clients write messages to the object, which time stamps and formats them.
- The messages are then shown in a configurable scrolling window and
- optionally logged to a file.
-
- - Messages can have a "severity" attribute (e.g. 'debug', 'info', 'alert').
- The object can filter messages whose severity is below a certain level.
-
- - The control can track time in several ways, such as: 'current time',
- 'time since log started' and 'time since last message'. A user-defined
- time stamp format can also be specified.
-
- - A path (directory) for the log file location and an explicit file name can
- be specified. Optionally, the object will automatically name the files by
- encoding the time of creation.
-
- - Logging can be started, stopped, paused and resumed. Event procedures are
- available for log-a-message and status change (i.e. start, stop, pause,
- error) events.
-
- - The control can open the log file automatically and close it after a
- time-out has occurred or a certain number of messages has been logged.
-
- - The control keeps statistics of the number of messages that were logged,
- ignored and lost (i.e. sent when logging was off or paused). These
- counters can be dumped to the log itself, or queried as separate read-only
- properties.
-
- - Finally, the control supports DDE conversations. It can receive messages
- to be logged via DDE and/or echo the logged messages to DDE clients.
-
- More complete documentation is contained in the help file you will
- find in this archive (Logbook.hlp).
-
-
- Getting the files
- -----------------
-
- You can always get the latest release of this software from the
- official Logbook home page on the Web:
-
- http://www.multimedia.it/andy/logbook/
-
- You can also contact the author by E-mail at the following address:
-
- andy@multimedia.it
-
-
-
- More Information
- ----------------
-
- The Logbook custom control began its life as a spare time
- self-training project on custom controls and Windows programming.
- Day after day, feature after feature, the control became a nice
- piece of software, and it was really a shame to let it gather dust
- in a drawer.
-
- This piece of software was never actually intended for commercial
- use. However, just in case, there is a license mechanism built in
- that should convince you to check with the author before you attempt
- to make money out of this software. Please read the following
- sections for details.
-
- I sincerely hope that you have as much fun using this software
- as I had writing it.
-
-
- What's new in release 1.1
- -------------------------
-
- * New Methods (Start, Stop, Pause, Resume) can be used instead of the
- old-style Action property.
- * There is a new preferred method: Log, for logging messages to the control,
- as opposed to the old LogMessage property and AddItem method.
- * It is possible to show the property page dialog at run time using the
- Properties method.
- * Can show the severity level of a message as 1st field in the log file
- (off by default for compatibiltiy with old log file format).
- * There are 4 flag properties for showing or turning off the different
- fields of a message: ShowLevel, ShowTime, ShowID, ShowMessage
- * It is now possible to specify a Separator string which is inserted between
- the log fields. By default, a single space is used, but this can be set to
- a TAB, a comma, or any other string for subsequent easy manipulation of
- the log file.
- * There is now a LogToConsole property, for simmetry with LogToFile. Note:
- changing LogToFile is only effective before Log is opened.
- * The FilePath property can now explicitely contain one DOS-style
- environment variable, like %TEMP%, that is interpreted at run-time.
- The full log file path used while logging can be retrieved from the
- FileFullPath property.
- * An AutoStart property has been define that, when true, makes the control
- start a log file on the first received message. You no longer have to
- explicitely start the log.
- * The 3-char limit in the ClientID has been eliminated. Ids can now be as
- long as you like. The default client ID is now "???".
- * When the control is used in a different host from Visual Basic, the
- Format$() syntax for TimeFormat is not longer available. In this case the
- control falls back to a C-language style syntax for the time stamps.
- * The control now has convenient property pages for all relevant options.
- * The control can now be shown with either a "flat" or a 3D look, according
- to the setting of the Appearance property.
-
-
- Previous Release History
- ------------------------
-
- * OCX Version 1.0
- A preliminary port of the custom control as a 16-bit OLE control (OCX),
- with equivalent functionality to the VBX version.
-
- * VBX Version 1.0
- Initial release
-
-
- Contents of the Archive
- -----------------------
-
- The distribution archive should contain the following files:
-
- Directory Lbkocx11
- README.TXT - This file
- LOGBOOK.HLP - Control help file
- SETUP.EXE - Program for automatic installation
- LOGBOOK.INF - Installation script for SETUP.EXE
-
- Directory Lbkocx11\CONTROLS
- Logbook controls, 16 and 32-bit versions,
- Visual Basic programming support file.
-
- Directory Lbkocx11\VBTEST
- Sample test program, for use with Visual Basic 4
-
-
- Installation
- ------------
-
- Preliminary Notes:
-
- The Logbook control is a custom control suitable for use with
- versions of Visual Basic supporting OCXs (4.0 or better). The
- 16-bit version of the control (LOGBK16.OCX) will only work with
- Visual Basic 4.0/16-bit, while the 32-bit version (LOGBK32.OCX)
- should work with 32-bit versions of Visual Basic.
-
- In order to keep the file size down, this archive does not contain
- the shared Microsoft DLL that are needed to run this control:
-
- MFC40.DLL, MSVCRT40.DLL (32-bit version)
- OC25.DLL (16-bit version)
-
- You probably already have these DLLs on your system, but just in
- case, they are available for download at:
-
- http://www.multimedia.it/andy/logbook/download
-
- or from in most on-line software archives.
-
- The Logbook controls contained in the distribution archive are
- fully functional. However, you will require a license file in
- order to get rid of the warning dialog both at programming time
- and in executables.
-
- To automatically install the software under NT 4, Windows 95:
-
- Double click on the SETUP.EXE program from the Windows Explorer.
- This will install the controls, help file and sample applications
- on your system.
-
- Please check out the Manual Installation Procedure detailed below
- anyway. Point 4 explains how you can use Visual Basic to check
- that the controls are properly registered, while point 2 explains
- how to install the license file that you may receive separately.
-
- To uninstall the package use the Windows Control Panel, "software"
- applet. In the list you find on the Add/Remove Software page, double
- click the entry named "Logbook Control".
-
-
- To install the controls MANUALLY:
-
- The distribution archive should include the following files:
-
- LOGBK32.OCX the custom control file - 32-bit version
- LOGBK16.OCX the custom control file - 16-bit version
- LOGBOOK.HLP the help file
- LOGBOOK.BAS support file for program development
-
- Additionally, when you register you shall receive the license file,
- LOGBOOK.LIC via E-mail.
-
- 1. move LOGBK16.OCX, LOGBK32.OCX and LOGBOOK.HLP in a directory
- of your choice. Usually OCX custom controls are installed in the
- \WINDOWS\SYSTEM directory, but this is not a strict requirement.
-
- In design mode, the control can be loaded from any directory,
- and it will attempt to locate the help file in the directory
- where the control was loaded from.
-
- In run-time mode (when used by a compiled program), the control
- should be somewhere in the search path.
-
- 2. The license file should be placed in the \WINDOWS directory.
- Of course, you should not distribute the license file with
- executable programs you write.
-
- 3. The LOGBOOK.BAS file is not strictly needed (the control constants
- can be read and copied into the source code with Visual Basic
- object browser), but can be placed in your project source directory
-
- 4. Before you load any of the example programs, make sure you
- REGISTER the control with the system from Visual Basic. To do
- this, load Visual Basic with a new, blank project. Then select
- the TOOLS menu, CUSTOM CONTROLS, then click the BROWSE button.
- Go to the directory where the OCX control is installed, then
- select it into the project. Close the Controls window clicking
- OK. At this point Visual Basic should have registered the
- control and it should work with all existing programs.
-
- 5. For automatic conversion of Visual Basic programs from VBX
- to the OCX version of the control, edit VB.INI (normally in
- c:\WINDOWS); locate the section named [VBX Conversions16] and
- add the following line:
-
- Logbook.vbx={813AE543-40C5-11D0-B4D8-444553540000}#1.0#0;C:\Windows\System\logbk16.ocx
-
- You can do the same for the 32-bit version of the control.
- The VB.INI section to edit is [VBX Conversions32] and the
- line to add is:
-
- Logbook.vbx={813AE543-40C5-11D0-B4D8-444553540000}#1.0#0;C:\Windows\System\logbk32.ocx
-
-
- Copyright Notices
- -----------------
-
- The Logbook Control is Copyright ⌐ 1995-1998 by Andy Zanna.
- All rights reserved.
-
- Windows, Windows NT, Windows 95, Visual Basic, Excel, Access,
- Office, Visual Basic for Applications, VBScript, Windows
- Entertainment Packs, Visual C++, Front Page, ActiveX and
- Internet Explorer are either trademarks or registered trademarks
- of Microsoft Corporation.
-
- Disclaimer
- ----------
-
- THIS SOFTWARE AND THE ACCOMPANYING FILES ARE PROVIDED "AS IS" AND
- WITHOUT WARRANTIES AS TO PERFORMANCE OF MERCHANTABILITY OR ANY
- OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED. IN NO EVENT SHALL
- THE AUTHOR BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOSS OF PROFITS,
- LOSS OF DATA, INCLUDING BUT NOT LIMITED TO SPECIAL, INCIDENTAL,
- CONSEQUENTIAL, OR INDIRECT DAMAGES ARISING FROM THE USE OF THIS
- SOFTWARE.
-
-
- Distribution
- ------------
-
- The distribution package for this version of the Logbook software
- must at least include the following files:
-
- LOGBK32.OCX
- LOGBK16.OCX
- LOGBOOK.HLP
- LOGBOOK.BAS
- README.TXT
-
- This package can be freely distributed provided that:
-
- 1. It is not bundled with a commercial product.
-
- 2. All the files in the package are included and no changes of
- any kind are made to the original files.
-
- 3. No charge or donation is requested for any copy of
- the software itself, however made, except for the bare
- cost of physical support, transmission medium and time
- required to perform the copy.
-
- In all other circumstances, written permission must be obtained
- from the author prior to distribution.
-
- The custom control files (LOGBK16.OCX and LOGBK32.OCX) can be
- distributed alone only as part of a commercial product and only
- if the author of that product has a valid license for the Logbook
- software.
-
- This license cannot be transferred to users or purchasers of the
- said commercial product.
-
-
- User License
- ------------
-
- This package can be freely used for any legitimate personal,
- non-commercial purpose.
-
- When used as component of a commercial program, the producer
- is required to contact the Logbook author in order to obtain
- permission, in the form of a specific development license file
- (see Registration Information below).
-
- The author reserves all right to change the distribution and
- licensing policy for any future major version of the Logbook
- software and derived products.
-
- Source code for this package is not freely available. It can,
- however, be purchased from the author.
-
-
- About the Author
- ----------------
-
- The author (Andy Zanna) is an electronic engineer with a broad
- experience in software design and production on a wide range of
- systems, from home computers to real-time systems, enterprise
- servers and large networks.
-
- This software is in no way related to the authorÆs real work or
- to the company where he is employed.
-
- Registrations, information queries and suggestions should be
- addressed to:
-
- Andy Zanna
- Hauptstr. 41
- D-71263
- Merklingen - Weil der Stadt
- Germany
-
- phone: +49-7033-33800
- E-mail: zanna@multimedia.it
-
-
- Registration Information
- ------------------------
-
- If you register this control, you will receive a license file that
- will get rid of the warning dialog that is displayed when the control
- is loaded at design or run-time. You will then be able to compile
- stand-alone applications and distribute them free of royalty.
-
- You will also receive notifications of updates and a right to use
- all minor updates (e.g. 1.x) with the same license.
-
- The registration fee is US$ 25 or equivalent in major currencies
- (DM, UK Pound, F Franks), should be sent by mail money order to
- the address above. You should add another 5$ if you require that
- the software and the license be sent to you via ordinary mail,
- rather than E-mail.
-
- You should also send a registration notice by ordinary mail or
- E-mail (preferably) to the address above, indicating your name,
- company (if applicable), mail and E-mail addresses.
-
- * end of file *
-
-